<script>
function openWindow() {
  var opened = !!window.open();
  return opened;
}
</script>
